import Layout from '@/layout'

const moduleRouter = {
  path: '/iam',
  component: Layout,
  redirect: 'noRedirect',
  children: [
    {
      path: 'web-menu-list',
      component: () => import('@/views/modules/iam/web-menu-list'),
      name: 'IamWebMenuList',
      meta: { title: 'WEB端菜单' }
    },
    {
      path: 'app-menu-list',
      component: () => import('@/views/modules/iam/app-menu-list'),
      name: 'IamAppMenuList',
      meta: { title: '移动端菜单' }
    },
    {
      path: 'role-list',
      component: () => import('@/views/modules/iam/role-list'),
      name: 'IamRoleList',
      meta: { title: '角色管理' }
    },
    {
      path: 'user-list',
      component: () => import('@/views/modules/iam/user-list'),
      name: 'IamUserList',
      meta: { title: '人员管理' }
    }
  ]
}

export default moduleRouter
